package myky.com.doctorapp.entity;

public class LoginSuccessEntity {


    /**
     * type : 106
     * payLoad : {"user":{"userid":3744,"username":"li4"},"serverTime":"2018-11-09 10:26:54"}
     */

    private int type;
    private PayLoadBean payLoad;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public PayLoadBean getPayLoad() {
        return payLoad;
    }

    public void setPayLoad(PayLoadBean payLoad) {
        this.payLoad = payLoad;
    }

    public static class PayLoadBean {
        /**
         * user : {"userid":3744,"username":"li4"}
         * serverTime : 2018-11-09 10:26:54
         */

        private UserBean user;
        private String serverTime;

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public String getServerTime() {
            return serverTime;
        }

        public void setServerTime(String serverTime) {
            this.serverTime = serverTime;
        }

        public static class UserBean {
            /**
             * userid : 3744
             * username : li4
             */

            private int userid;
            private String username;

            public int getUserid() {
                return userid;
            }

            public void setUserid(int userid) {
                this.userid = userid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }
        }

        @Override
        public String toString() {
            return "PayLoadBean{" +
                    "user=" + user +
                    ", serverTime='" + serverTime + '\'' +
                    '}';
        }
    }


}
